Skip to content

Enhance package-extractor: batch folder collection and add hoisting skip option#5758

Open
Copilot wants to merge 3 commits intomainfrom
copilot/enhance-package-extractor-collect-folders
Open

Enhance package-extractor: batch folder collection and add hoisting skip option#5758
Copilot wants to merge 3 commits intomainfrom
copilot/enhance-package-extractor-collect-folders

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 8, 2026

  • Explore codebase to understand _collectFoldersAsync and hoisting logic
  • Change 1: Update _collectFoldersAsync to accept an array of starting folders and use a single shared AsyncQueue instead of being called serially per project
  • Change 2: Add pnpmNodeModulesHoistingEnabled option to IExtractorSubspace to control whether to look for hoisted packages in the pnpm virtual store
  • Build and test
  • Run parallel validation
  • Add change file for minor bump

Copilot AI and others added 2 commits April 8, 2026 21:47
…ueue and add pnpmNodeModulesHoistingEnabled option

Agent-Logs-Url: https://github.com/microsoft/rushstack/sessions/483711d5-f1e0-4f69-b1b1-445230d9c33f

Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/rushstack/sessions/483711d5-f1e0-4f69-b1b1-445230d9c33f

Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/rushstack/sessions/bdcb8673-e8f6-480c-a999-44737579f43f

Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com>
"changes": [
{
"packageName": "@rushstack/package-extractor",
"comment": "Update _collectFoldersAsync to process all starting folders in a single shared queue instead of serially. Add pnpmNodeModulesHoistingEnabled option to IExtractorSubspace to skip virtual store hoisting lookup when hoisting is disabled.",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"comment": "Update _collectFoldersAsync to process all starting folders in a single shared queue instead of serially. Add pnpmNodeModulesHoistingEnabled option to IExtractorSubspace to skip virtual store hoisting lookup when hoisting is disabled.",
"comment": "Update `_collectFoldersAsync` to process all starting folders in a single shared queue instead of serially. Add `pnpmNodeModulesHoistingEnabled` option to `IExtractorSubspace` to skip virtual store hoisting lookup when hoisting is disabled.",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs triage

Development

Successfully merging this pull request may close these issues.

3 participants